import Vue from 'vue'
import Vuex from 'vuex'
// 获取状态管理
import getters from './getters'

// 状态定义
import user from './modules/user'
import setting from './modules/setting'
import website from './modules/website'
import asyncRouter from './modules/asyncRouter'

Vue.use(Vuex)

const store = new Vuex.Store({
    modules:{
        asyncRouter, user, setting,website
    },
    state: {
    },
    mutations: {
    },
    actions: {
    },
    getters
  })

export default store
